<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
    <style>
        * {
            margin: 0px;
            padding: 0px;
            box-sizing: border-box;
        }

        body {
            background: url("../img/登录背景.jpg") no-repeat center;
            padding-top: 20px;

        }

        .div_out {
            width: 900px;
            height: 500px;
            border: 8px solid gray;
            margin: auto;
        }

        .rg_left {
            /*border: 1px solid red;*/
            float: left;
            margin: 10px;
        }

        .rg_left > b:first-child {
            color: blue;
            font-size: 20px;
        }

        .rg_left > b:last-child {
            color: black;
            font-size: 20px;
        }

        .rg_center {
            float: left;
            /*border: 1px solid red;*/
            margin-top: 25px;
        }

        .rg_right {
            float: right;
            /*border: 1px solid red;*/
        }

        .rg_right b p {
            font-size: 15px;
            margin-top: 25px;
            margin-right: 20px;
        }

        .rg_right b p a:link {
            color: pink;
        }

        .rg_right b p a:hover {
            color: red;
        }

        .td_left {
            width: 100px;
            text-align: right;
            height: 45px;
        }

        .td_right {
            padding-left: 50px;
        }

        #username, #password, #email, #name, #tel, #birthday, #checkcode {
            width: 251px;
            height: 35px;
            border: 1px solid #A6A6A6;
            /*设置边框圆角*/
            border-radius: 5px;
            padding-left: 10px;
        }

        #checkcode {
            width: 110px;
        }

        #img_check {
            height: 35px;
            vertical-align: middle;
        }

        #btn_sub {
            width: 150px;
            height: 40px;
            background-color: white;
            border: 1px solid white;
            font-size: 20px;
        }


    </style>


</head>
<body>
<div class="div_out">
    <!--第一块-->
    <div class="rg_left">
        <b><p>QQ号注册</p></b>
        <b><p>USER REGISTER</p></b>
    </div>
    <!--第二块-->
    <div class="rg_center">
        <div class="rg_form">
            <form action="#" method="post">
                <b> <table>
                    <tr>
                        <td class="td_left"><label for="username">QQ号码</label></td>
                        <td class="td_right"><input type="text" name="username" id="username" placeholder="请输入QQ号码"></td>
                    </tr>

                    <tr>
                        <td class="td_left"><label for="password">QQ密码</label></td>
                        <td class="td_right"><input type="password" name="password" id="password" placeholder="请输入密码">
                        </td>
                    </tr>

                    <tr>
                        <td class="td_left"><label for="email">Email</label></td>
                        <td class="td_right"><input type="email" name="email" id="email" placeholder="请输入邮箱"></td>
                    </tr>

                    <tr>
                        <td class="td_left"><label for="name">姓名</label></td>
                        <td class="td_right"><input type="text" name="name" id="name" placeholder="请输入姓名"></td>
                    </tr>

                    <tr>
                        <td class="td_left"><label for="tel">手机号</label></td>
                        <td class="td_right"><input type="text" name="tel" id="tel" placeholder="请输入手机号"></td>
                    </tr>

                    <tr>
                        <td class="td_left"><label>性别</label></td>
                        <td class="td_right">
                            <input type="radio" name="gender" value="male"> 男
                            <input type="radio" name="gender" value="female"> 女
                        </td>
                    </tr>

                    <tr>
                        <td class="td_left"><label for="birthday">出生日期</label></td>
                        <td class="td_right"><input type="date" name="birthday" id="birthday" placeholder="请输入出生日期">
                        </td>
                    </tr>

                    <tr>
                        <td class="td_left"><label for="checkcode">验证码</label></td>
                        <td class="td_right"><input type="text" name="checkcode" id="checkcode" placeholder="请输入验证码">
                            <img id="img_check" src="img/verify_code.jpg">
                        </td>
                    </tr>

                    <tr>
                        <td colspan="2" align="center"><input type="submit" id="btn_sub" value="注册"></td>
                    </tr>
                </table></b>


            </form>
        </div>
    </div>
    <!--第三块-->
    <div class="rg_right">
        <b><p>已有账号?<a href="#">立即登陆</a></p></b>
    </div>
</div>
</body>
</html>